[Autofocus] Fix a bug causing getPropertyNames() to fail.

The fix was proposed by Karsten Siller. Thanks, Karsten!

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@14793 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd