Expose suffix parameter of buildURL function calls
Fixed incorrect comparison operator