Fixed #223 -- Fixed ValueError in search with bad release ID

Simpler?
```
if pk:
    if pk.isdigit():
        ....
    else:
        raise
```