fix value tracing of partial empty fetches/selects
add module tests for empty selects/fetches
fix -nobefore option