Fix for Cone Search erroneously raising an error for valid RA

This fixes #2240 .