Fix SQL in playback_history
Merge pull request #24 from williamjacksn/r4

Fix SQL in playback_history