Working around nasty prepared statement implementation.