Fix searching for the pending "new" contributions

"New" contributions (state=0) do not have the timemodified field set.