Fix APS installer limits check
The APS instance limits are being checked against a count on the client table. This should be the aps_instances table, otherwise the configured limit_aps in the limits template does not get enforced.
The APS instance limits are being checked against a count on the client table. This should be the aps_instances table, otherwise the configured limit_aps in the limits template does not get enforced.