Fixed bug where browsing searchable projects returned the wrong ID

@jaypoulz 
The else is pointless. You did the if-return correctly.