Fix wrong comparison

Fixed a wrong comparison leading to a non-functional server.

Change-Id: Icc47bfe3a1346169b8590d9a935f8d4bec5102ba
Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>