Fixed search to only search revision 0