bugs.core_2132_test. Indexed retrieval cannot be chosen if a stored procedure is used inside the comparison predicate