Ensure that waitUntilAccessSelect returns a valid object.

Fixes a timing error bug.