Re-arranged joint limit defines so that if no joint limits are checked, all solutions are returned