Sent before key fix

Simple fix for #95