Fixed problem with statement registry preparator that caused named queries to be overridden by each other