Made optional REST endpoint's paramaters NOT disappear from the URL template as per BIOCAT-953.