srm: Fix space expiration check in space query

Target: trunk
Require-notes: no
Require-book: no
Request: 2.7
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/6220/