! Adds literal and empty parameters to queries, fixes #645

Signed-off-by: Peter Spicer <sleeping@myperch.org>